package io.chance.receiverlei.schedule;

import io.chance.receiverlei.channel.ChannelManager;
import lrq.common.MyLog;
import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class ChannelOnLineChecker implements Job {
	
	Logger log = MyLog.getLogger(getClass().getSimpleName());

	@Override
	public void execute(JobExecutionContext arg0) throws JobExecutionException {
		try {
			ChannelManager.ChannelOnLineChecker();
		} catch ( SecurityException | IllegalArgumentException e) {
			log.error("检查在线状态出错了", e);
			e.printStackTrace();
		}
	}
}
